img,
body,
p,
h1,
h2,
h3,
h4,
ul {
    margin: 0;
    padding: 0;
}
html {
    min-width: 1200px;
}
.container {
    margin: 0 auto;
    width: 1200px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}
img {
    font-size: 0;
}

.line {
    display: inline-block;
    width: 50px;
    height: 4px;
    margin: 1.5rem 0;
    border-radius: 5px;
}
.line-blue {
    background-color: #3574fa;
}
.line-white {
    background-color: #fff;
}
.thin-line {
    height: 1px;
    margin: 1rem 0;
    background-color: #f5f5f5;
}

.header {
    // padding-bottom: 3rem;
    // height: 755px;

    background: url("../image//background.png");
    background-size: cover;
}

.swiper-pagination {
    left: 0;
    right: 0;
    > span {
        height: 5px;
        width: 5px;
        margin: 0 0.5rem;
        border: 2px solid rgba($color: #000000, $alpha: 0);
    }
    .swiper-pagination-bullet-active {
        background: #fff;
        border: 2px solid #007aff;
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    .logo {
        padding: 1rem 0;
    }
    .nav-list {
        display: flex;
        a {
            display: inline-block;
            padding: 1rem 0.2rem;
            margin: 0 1.3rem;
            font-size: 0.85rem;
            border-top: 2px solid rgba($color: #000000, $alpha: 0);
            color: #9fb0cd;
            transition: all 0.2s;
            &:hover {
                color: #ddd;
            }
        }
        > .item {
        }
        > .active {
            > a {
                font-size: 1rem;
                border-top: 2px solid #fff;
                color: #fff;
            }
        }
    }
}

.slogn {
    padding: 15rem 0;
    text-align: center;
    color: #fff;
    > h1 {
        padding: 1rem 0;
        font-size: 3rem;
        font-weight: 500;
        letter-spacing: 1rem;
        > span {
            padding: 0 1rem;
        }
    }
    > p {
        padding: 0.2rem 0;
        line-height: 24px;
    }
}

// ecology
.ecology {
    padding: 2rem 0;
    .list {
        display: flex;
        justify-content: space-around;
        li {
            text-align: center;
            img {
                width: 50%;
            }
            > h3 {
                padding: 1rem 0;
                font-weight: 500;
                color: #333;
            }
            > p {
                padding: 0.1rem 0;
                line-height: 22px;
                font-size: 0.85rem;
                // color: #6C6C6C;
                color: #666;
            }
        }
    }
}

.header-ecology {
    margin-bottom: 2rem;
    text-align: center;
    > h3 {
        font-size: 1.3rem;
        letter-spacing: 0.15rem;
        color: #475669;
    }
}

.header-product {
    margin-bottom: 2rem;
    text-align: center;
    > h3 {
        font-size: 1.3rem;
        letter-spacing: 0.15rem;
        color: #fff;
    }
}
.header-service {
    margin-bottom: 2rem;
    text-align: center;
    > h3 {
        font-size: 1.3rem;
        letter-spacing: 0.15rem;
        color: #475669;
    }
}
.header-case {
    margin-bottom: 2rem;
    text-align: center;
    > h3 {
        font-size: 1.3rem;
        letter-spacing: 0.15rem;
        color: #fff;
    }
}

.header-aboutme {
    margin-bottom: 2rem;
    text-align: center;
    > h3 {
        font-size: 1.3rem;
        letter-spacing: 0.15rem;
        color: #475669;
    }
}

// product
.product {
    background: url("../image/product-bg.png");
    background-size: cover;
    padding: 2rem 0;
    margin-top: 5rem;
    .list {
        display: flex;
        justify-content: space-around;
        text-align: center;
        h2,
        h3 {
            font-weight: 500;
            padding: 0.2rem 0;
            color: #333333;
        }
        p {
            text-align: left;
            line-height: 22px;
            font-size: 0.9rem;
            color: #666;
        }
        li {
            flex: 0 0 15%;
            height: 295px;
            padding: 1rem 2rem 3rem 2rem;
            border-radius: 5px;
            background-color: #fff;
            transition: all 0.2s ease;
            // transform: translateY(0);
            margin-top: 0;
            box-shadow: 0 0 12px 1px rgba($color: #fff, $alpha: 0.1);
            img {
                width: 90%;
                padding: 1rem 0;
            }
            &:hover {
                // transform: translateY(50px);
                margin-top: -20px;
                box-shadow: 0 0 20px 1px rgba($color: #fff, $alpha: 0.5);
            }
        }
    }
}

// service
.service {
    padding: 2rem 0;
    .container {
        width: 1000px;
        .box {
            .item-container {
                display: flex;
                position: relative;
                justify-content: space-between;
                > img {
                    width: 50%;
                    height: 50%;
                }
                > .card {
                    position: absolute;
                    right: 12%;
                    top: 30%;
                    width: 32%;
                    padding: 2rem 2rem 3.5rem 4rem;
                    box-shadow: 0 0 5px 1px rgba($color: #000000, $alpha: 0.1);
                    border-radius: 3px;
                    background-color: #fff;
                    > h3 {
                        font-weight: 500;
                    }
                    > p {
                        font-size: 0.9rem;
                        color: #6f6f6f;
                    }
                }
            }
        }
    }
}

// case
.case {
    position: relative;
    background: url("../image/case-bg.png") center bottom no-repeat;
    // background-size: cover;
    // padding: 2rem 0;
    padding-top: 2rem;
    .container {
        background: url("../image/circle.png") center bottom no-repeat;
        background-size: 55%;
    }
    .box {
        > div {
            display: flex;
            justify-content: space-between;
            padding: 1rem 0;
            margin: 0 auto;
            > span {
                // display: inline-block;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 0;
                background-color: #fff;
                width: 80px;
                height: 80px;
                border-radius: 50%;
                > img {
                    width: 65%;
                    cursor: pointer;
                }
                transition: all 0.2s ease;
                margin-top: 0;
                &:hover {
                    margin-top: -1rem;
                }
            }
        }
        .first-line {
            width: 35%;
        }
        .two-line {
            width: 55%;
        }
        .three-line {
            width: 60%;
        }
    }
    .panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 4rem;
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
        color: #fff;
        > .icon-box {
            img {
                width: 50px;
            }
        }
        > p {
            margin: 0 auto;
            font-size: 0.9rem;
            // width: 400px;
        }
        > h3 {
            padding: 1rem 0;
            font-weight: 500;
            font-size: 1.3rem;
        }
    }
}

// aboutme
.aboutme {
    padding: 2rem 0;
    .container {
        width: 900px;
    }
    .box {
        display: flex;
        img {
            width: 90%;
        }
        > .img {
            text-align: right;
        }
        > .article {
            > h3 {
                margin-bottom: 1rem;
                line-height: 24px;
                font-weight: 550;
                font-size: 1rem;
                color: #555;
            }
            > p {
                padding: 0.2rem;
                line-height: 24px;
                font-size: 0.85rem;
                // color: #343434;
                color: #666;
            }
        }
        > div {
            flex: 0 0 50%;
        }
    }
}

// footer
.footer {
    > .container {
        width: 900px;
        display: flex;
        justify-content: space-around;
        box-shadow: 0 1px 3px 0 rgba($color: #000000, $alpha: 0.1);
        padding: 1rem 0;
        margin-bottom: 1rem;
        font-size: 0.95rem;
        background-color: #fff;
        color: #4a596c;
        .foot-icon {
            > img {
                width: 10%;
                vertical-align: bottom;
                padding: 0 0.2rem;
            }
        }
    }
}
